<!--
 * @Author: GKN
 * @Date: 2023-08-21 17:08:18
 * @LastEditTime: 2024-01-22 16:20:19
 * @LastEditors: GKN
 * @Description: 
 * @FilePath: \mod\src\view\ach\a3.vue
 * 可以输入预定的版权声明、个性签名、空行等
-->
<template>
    <div class="main mainPadding " style="background:#fff;">
        <div class="max-w">
        <el-breadcrumb separator=">" class="p-t">
            <el-breadcrumb-item v-for="(item,i) in breadcrumb_list" :key="i">{{ item.name }}</el-breadcrumb-item>
        </el-breadcrumb>
        <div class="mconut" :style="countstyle">
            试看内容
        </div>
        <div class="btn1 cursor-p" @click="LoadAll" v-if="textStatus">剩余91%未加载，立即购买阅读文档</div>
        </div>
    </div>
</template>

<script setup>
    import { ref } from "vue";
    import { ElMessage } from 'element-plus'
    // 面包屑
    const breadcrumb_list = [{name:'成果库'},{name:'图书'},{name:'试看'}]
    const textStatus =  ref(true)
    const is_vip = ref(true)
    const countstyle = ref('max-height:400px;')
    const LoadAll = ()=>{
        countstyle.value = 'min-height:400px'
        textStatus.value = false
    }
</script>

<style lang='less' scoped>
.mconut{
    overflow: hidden;
}
.btn1{
    width: 280px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #D10B00;
    font-size: 16px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #D10B00;
    line-height: 40px;
    margin: 42px auto;
}
.vipview{
    width: 100%;
    padding:47px 48px 41px 48px;
    background: linear-gradient(to bottom, rgba(255, 250, 248, 1), rgba(255, 225, 205, 1));
    border-radius: 10px 10px 10px 10px;
    .title{
        font-size: 30px;
        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
        font-weight: 500;
        color: #77472F;
        padding-top: 0;
    }
    .center{
        display: flex;
    }
    .item{
        width: 14%;
        padding: 0 5px;
        .img{
            width: 142px;
            height: 200px;
        }
        .cont{
            padding-top: 20px;
            .t{
                font-size: 14px;
                text-align: left;
            }
            .c{

                font-size: 12px;
                text-align: left;
                color: #8d8d8d;
            }
        }
    }
    .btn{
        width: 350px;
        height: 48px;
        background: #D10B00;
        border-radius: 24px 24px 24px 24px;
        opacity: 1;
        border: 1px solid #D10B00;
        font-size: 16px;
        color: #fff;
        line-height: 48px;
        margin: 40px auto;
    }
}
</style>


  